/**
  * Author: Mei
  * Date: 2020-12-10 20:44
  * Description: 变化的模板  变化的是个数和类型
  *
  */
#include "../head.h"

using namespace std;

int maxinum(int n) {
    return n;
}

template<typename ... Args>
int maxinum(int n, Args...args) {
    return max(n, maxinum(args...));
};

int main() {
    int n = maxinum(34, 2, 65, 34, 76, 8, 12);
    cout << n << endl;


    return 0;
}

